﻿/*
 * Created by SharpDevelop.
 * User: christophe
 * Date: 7/09/2011
 * Time: 20:55
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
namespace MetaVideoEditorEvolved.UI.Entity
{
	using System;
	using System.Windows;
	using System.Collections.ObjectModel;
	
	/// <summary>
	/// Description of KernelEntity.
	/// </summary>
	public class KernelEntity : BaseEntity
	{
		public KernelEntity()
		{
			this.mediaItems = new ObservableCollection<MediaItemBaseEntity>();
			this.flatListOfMediaItems = new ObservableCollection<MediaItemBaseEntity>();
		}
		
		ObservableCollection<MediaItemBaseEntity> mediaItems;
		
		public ObservableCollection<MediaItemBaseEntity> MediaItems {
			get
			{
				return this.mediaItems;
			}
			
			set
			{
				this.mediaItems = value;
				this.OnNotifyPropertyChanged("MediaItems");
			}
		}
		
		ObservableCollection<MediaItemBaseEntity> flatListOfMediaItems;
		
		public ObservableCollection<MediaItemBaseEntity> FlatListOfMediaItems {
			get 
			{ 
				return this.flatListOfMediaItems; 
			}
			
			set 
			{ 
				this.flatListOfMediaItems = value; 
				this.OnNotifyPropertyChanged("FlatListOfMediaItems");
			}
		}
		
		Cache cache;
		
		public Cache Cache {
			get
			{
				return this.cache;
			}
			
			set
			{
				this.cache = value;
				this.OnNotifyPropertyChanged("Cache");
			}
		}		
	}
}